package com.zkadmin.repository;

import org.springframework.data.querydsl.QueryDslPredicateExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.zkadmin.entity.SysRole;

public interface SysRoleRepository extends PagingAndSortingRepository<SysRole, Long>, QueryDslPredicateExecutor<SysRole> {

	public SysRole findByName(String name);

	public SysRole findByRole(String role);
}
